home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global video, full_video, niv_sonido1, niv_sonido2
- if siguevid() then
- go(the frame)
- else
- set the movieRate of sprite 16 to 0
- updateStage()
- if video = 0 then
- set video to video + 1
- puppetSound(0)
- set the volume of sound 1 to niv_sonido1
- set the volume of sound 2 to niv_sonido2
- set the visible of sprite 16 to 0
- updateStage()
- go(the frame + 1)
- else
- if video = 1 then
- set video to video + 1
- if full_video then
- go(the frame - 1)
- else
- go(the frame + 1)
- end if
- end if
- end if
- end if
- end
-
- on mouseUp
- global video, idioma, Debug, full_video, EnVideo, niv_sonido1, niv_sonido2
- if not Debug then
- exit
- end if
- set the movieRate of sprite 16 to 0
- updateStage()
- if (video = 0) or (video = 4) then
- set video to video + 1
- set EnVideo to 0
- puppetSound(0)
- set the volume of sound 1 to niv_sonido1
- set the volume of sound 2 to niv_sonido2
- set the visible of sprite 16 to 0
- updateStage()
- go(the frame + 1)
- else
- if video = 1 then
- set video to video + 1
- if full_video then
- go(the frame - 1)
- else
- go(the frame + 1)
- end if
- else
- set video to video + 1
- go(the frame - 1)
- end if
- end if
- end
-